home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
abild.z
/
abild
Wrap
Text File
|
1998-10-30
|
15KB
|
331 lines
AAAABBBBIIIILLLLDDDD((((1111)))) AAAABBBBIIIILLLLDDDD((((1111))))
NNNNAAAAMMMMEEEE
abild - ABI link editor
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
aaaabbbbiiiilllldddd [ option ] ... _f_i_l_e ...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
aaaabbbbiiiilllldddd is a wrapper shell script for lllldddd for link editing MMMMIIIIPPPPSSSS AAAABBBBIIII
applications. It translates a common subset of the SVR4 SGS (Software
Generation System) flags and arguments to those of the native IDO (IRIS
Development Option). By the use of this wrapper, applications which link
"on-site" on a target platform are isolated from having to know the
details of invoking that platform's compilation system.
aaaabbbbiiiilllldddd also serves to hide the details of constructing an ABI application
on IRIX. The details of exactly how the native lllldddd constructs an ABI
application are not guaranteed to remain unchanged, so aaaabbbbiiiilllldddd should be
used to link all ABI-compliant programs to insure portability.
The following options are recognized by aaaabbbbiiiilllldddd; options which are not
applicable are (generally) silently ignored. Further details available
in the _U_N_I_X _S_y_s_t_e_m _V _R_e_l_e_a_s_e _4 _P_r_o_g_r_a_m_m_e_r'_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l.
----aaaa undefined references generate errors (static mode)
----BBBB ssssttttaaaattttiiiicccc
look only for static archives during link phase
----BBBB ddddyyyynnnnaaaammmmiiiicccc
look for DSOs first, then static archives. during link phase
Note that the ----BBBB ssssttttaaaattttiiiicccc and ----BBBB ddddyyyynnnnaaaammmmiiiicccc options serve as toggles and can
be specified multiple times on a command line.
----BBBB ssssyyyymmmmbbbboooolllliiiicccc
when building a DSO, bind references to global symbols to their
definitions within the object
----BBBB ssssyyyymmmmbbbboooolllliiiicccc====_n_a_m_e,...
when creating a DSO, bind the named reference to their definitions
within the object if there is a definition in the object. Not
supported at present.
----BBBB ssssyyyymmmmbbbboooolllliiiicccc____ffffiiiilllleeee====_f_i_l_e_n_a_m_e
when creating a DSO, the file _f_i_l_e_n_a_m_e contains a list of symbols
that should be bound to their definitions within the object if there
is a definition in the object. Not supported at present.
----BBBB eeeexxxxppppoooorrrrtttt
when creating a DSO, indicates that symbols from the next object,
archive, or DSO are exported fron the DSO being created. This is
the default for an object but not for an archive or DSO.
PPPPaaaaggggeeee 1111
AAAABBBBIIIILLLLDDDD((((1111)))) AAAABBBBIIIILLLLDDDD((((1111))))
----BBBB eeeexxxxppppoooorrrrtttt====_n_a_m_e,...
when creating a DSO, marks the symbols given by the list of _n_a_m_e_s as
exported. If any symbols are exported by this mechanism then all
unspecified symbols will be automatically hidden. _f_i_l_e_n_a_m_e contains
a list of symbols that should be exported. Any symbols not
specifically exported will be automatically hidden.
----BBBB eeeexxxxppppoooorrrrttttssss____ffffiiiilllleeee==== ffffiiiilllleeeennnnaaaammmmeeee
when creating a DSO, the file given by _f_i_l_e_n_a_m_e contains a list of
symbols that should be exported. Any symbols not specifically
exported will be automatically hidden.
----BBBB hhhhiiiiddddeeee
when creating a DSO, indicates that symbols from the next object,
archive, or DSO are hidden in the DSO being created. This is the
default for an archive or DSO but not for an object.
----BBBB hhhhiiiiddddeeee====_n_a_m_e,...
when creating a DSO, marks the symbols given by the list of _n_a_m_e_s as
hidden. Ignored if any symbols are exported by the
----BBBB eeeexxxxppppoooorrrrtttt====_n_a_m_e,... or ----BBBB eeeexxxxppppoooorrrrttttssss____ffffiiiilllleeee====_f_i_l_e_n_a_m_e options.
----BBBB hhhhiiiiddddeeeessss____ffffiiiilllleeee====_f_i_l_e_n_a_m_e
when creating a DSO, the file given by _f_i_l_e_n_a_m_e contains a list of
symbols that should be hidden. Ignored if any symbols are exported
by the ----BBBB eeeexxxxppppoooorrrrtttt====_n_a_m_e,... or ----BBBB eeeexxxxppppoooorrrrttttssss____ffffiiiilllleeee====_f_i_l_e_n_a_m_e options.
----BBBB oooobbbbjjjjeeeeccccttttlllliiiisssstttt====_f_i_l_e_n_a_m_e
the object files named in the file _f_i_l_e_n_a_m_e are linked in.
----BBBB rrrrppppaaaatttthhhh====_P_A_T_H
_P_A_T_H is a directory. specifies the rpath pathname when linking
----sssshhhhaaaarrrreeeedddd (IRIX cc option) or when using the ----GGGG option. The dynamic
linker will search the named directory first.
----BBBB nnnnoooolllliiiibbbbrrrraaaarrrryyyyrrrreeeeppppllllaaaacccceeeemmmmeeeennnntttt
Turns on a flag in the dynamic section so that rld does not allow
execution time or runtime changing of the path (except for super
user) to find the DSOs (Dynamic Shared Objects). Typically, used for
security purposes on system utilities.
----bbbb controls DSO linkage. Silently ignored by IRIX.
----dddd nnnn use static linking. Statically linked executables are not MIPS ABI
conforming.
----dddd yyyy use dynamic linking (the default) to create a dynamic executable.
----eeee _e_p_s_y_m
sets entry point to be _e_p_s_y_m.
PPPPaaaaggggeeee 2222
AAAABBBBIIIILLLLDDDD((((1111)))) AAAABBBBIIIILLLLDDDD((((1111))))
----GGGG produce a DSO. This option is used when generating a DSO (dynamic
shared object) (as opposed to a dynamic executable). When using the
----GGGG option, one usually also specifies the outfile file name using,
----oooo _f_i_l_e._s_o and the "soname" using, ----WWWWllll,,,,----ssssoooonnnnaaaammmmeeee,,,,_f_i_l_e._s_o....
----hhhh _n_a_m_e
controls dynamic linking name lookup (look for _n_a_m_e instead of the
filename). This option is not supported on IRIX.
----IIII _n_a_m_e
specifies an interpreter to be linked with a.out .
----LLLL _p_a_t_h
add _p_a_t_h to library search directories.
----llll_x search the specified library
----MMMM _m_a_p_f_i_l_e
use specified map file as a file of directives to lllldddd. This option
is not supported on IRIX.
----mmmm produce a memory map.
----oooo _o_u_t_f_i_l_e
names the output file.
----QQQQ nnnn suppress compiler identification in output.
----QQQQ yyyy generate compiler identification in output.
----rrrr combine object files into a relocatable object file.
----ssss strip symbolic debugging information.
----tttt suppress warning about multiple defined symbols of different sizes.
----uuuu _s_y_m_n_a_m_e
enters named symbol as an undefined.
----vvvv verbose mode.
----VVVV output a version identifier string.
----XXXX rrrreeeeaaaaddddwwwwrrrriiiitttteeee____ccccoooonnnnsssstttt
Place the contents of _c_o_n_s_t data in a writable segment of memory.
This is the default.
----XXXX rrrreeeeaaaaddddoooonnnnllllyyyy____ccccoooonnnnsssstttt
Place contents of _c_o_n_s_t data in a read-only segment of memory. This
option should be when programs which will be redistributed in on-
site linkable object code as well as binary form are generated, as
some of the other ABI platforms support only this behavior.
PPPPaaaaggggeeee 3333
AAAABBBBIIIILLLLDDDD((((1111)))) AAAABBBBIIIILLLLDDDD((((1111))))
----XXXX xxxxppppgggg
directs the compiler to set the global variable ________xxxxppppgggg4444 to 1; this
indicates that libraries should provide behavior compatible with the
_X/_O_p_e_n _S_i_n_g_l_e _U_N_I_X(_T_M) _S_p_e_c_i_f_i_c_a_t_i_o_n rather than the default
traditional behavior where there is a conflict.
----XXXX 33332222
generate a 32-bit object. This is the default. Defaults to
----XXXX mmmmiiiippppssss1111 ....
----XXXX 66664444
generate a 64bit object. Defaults to ----XXXX mmmmiiiippppssss3333 ....
----XXXX mmmmiiiippppssss1111
generate code using the MIPS I instruction set of the R2000/R3000
RISC architecture. Defaults to ----XXXX 33332222 ....
----XXXX mmmmiiiippppssss2222
generate code using the MIPS II instruction set (MIPS 1 + R4000
specific extensions). Defaults to ----XXXX 33332222 ....
----XXXX mmmmiiiippppssss3333
generate code using the MIPS III (R4000) instruction set. Defaults
to ----XXXX 66664444 ....
----XXXX mmmmiiiippppssss4444
generate code using the MIPS IV (R10000,R5000,R8000) instruction
set. Defaults to ----XXXX 66664444 ....
----YYYYPPPP,,,,_d_i_r_l_i_s_t
controls library search list. This option is not supported and
generates a warning message.
----zzzz ddddeeeeffffssss
force fatal error for undefined symbols at the end of the link
(default when building an executable)
----zzzz nnnnooooddddeeeeffffssss
allow undefined symbols (default when building a DSO).
----zzzz tttteeeexxxxtttt
in dynamic mode, force a fatal error if relocations against
unwritable, allocatable sections remain
----WWWWllll,,,,aaaarrrrggggssss[[[[,,,,aaaarrrrgggglllliiiisssstttt]]]]
This IRIX-specific option is used to pass SGI specific options to
the underlying link command.
NNNNOOOOTTTTEEEESSSS
The OPTIONS section above indicates a space character between options and
option-arguments. This is in accordance with _X/_O_p_e_n recommendations for
portable applications. _a_b_i_c_c also supports placing its option-argument
PPPPaaaaggggeeee 4444
AAAABBBBIIIILLLLDDDD((((1111)))) AAAABBBBIIIILLLLDDDD((((1111))))
in the same string with no space. If the option-argument is optional, no
space is allowed and this is reflected in the OPTIONS section.
When aaaabbbbiiiilllldddd is used, the only library in the default search path is
/_u_s_r/_l_i_b/_a_b_i. If /_u_s_r/_l_i_b is searched, an ABI binary won't be built.
----XXXX 33332222 may only be combined with ----XXXX mmmmiiiippppssss1111 or ----XXXX mmmmiiiippppssss2222 .... ----XXXX 66664444 may only be
combined with ----XXXX mmmmiiiippppssss3333 or ----XXXX mmmmiiiippppssss4444 ....
FFFFIIIILLLLEEEESSSS
/usr/lib/abi ABI libraries and configuration files
/usr/lib64/abi ABI libraries
/usr/lib64/mips3/abi ABI libraries
/usr/lib64/mips4/abi ABI libraries
/usr/include/abi special ABI include files
/usr/lib/abi/setup abild setup file
/usr/lib/abi/sgild.cfg IRIX abild config file
SSSSEEEEEEEE AAAALLLLSSSSOOOO
abicc(1), check_abi_compliance(1), check_abi_interface(1),
check_for_syscalls(1), abi(5)
_M_I_P_S _P_r_o_c_e_s_s_o_r _A_B_I _C_o_n_f_o_r_m_a_n_c_e _G_u_i_d_e
_U_N_I_X _S_y_s_t_e_m _V _R_e_l_e_a_s_e _4 _P_r_o_g_r_a_m_m_e_r'_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
http://www.mipsabi.org has the MIPS ABI documents.
PPPPaaaaggggeeee 5555